package com.twu.biblioteca;

/**
 * Created by twer on 21/04/2014.
 */
public class Reader {

    private final Books bookList = new Books();
    private final String name;

    public Reader(String reader) {
        this.name = reader;
    }

    public void checkout(String book) {
        bookList.add(new Book(book));
    }

    public boolean reading(String book) {
        return bookList.contains(book);
    }

    public String name() {
        return name;
    }
}
